package si.yun.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import si.yun.dao.SyCourseMapper;
import si.yun.entity.SyCourse;
import si.yun.service.SyCourseUploadService;

/**
 * @ClassName: 上传课程预览图持久层
 * @Description: TODO
 * @Author: 柴秋生
 * @Date 2021/8/23 19:36
 */
@Service
public class SyCourseUploadServiceImpl implements SyCourseUploadService {
    @Autowired
    private SyCourseMapper syCourseMapper;
    /**
     * 添加课程预览图
     * @Author : 柴秋生
     * @Date : 2021/8/23 19:31
     * @Param : [session, response, files, SyCourse]
     * @Return : boolean
     */
    @Override
    public int insertFiler(SyCourse syCourse) {
        return syCourseMapper.insertFiler(syCourse);
    }
}
